﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DELVE_GAME.ViewStructure.GameActions
{
    class SetNumberofPlayers : GameAction
    {
        GameSettings gameSettings;
        int numofPlayers;

        public SetNumberofPlayers(GameSettings gamesettings, int players)
        {
            this.gameSettings = gamesettings;
            this.numofPlayers = players;
        }

        public override void doAction()
        {
             gameSettings.setNumPlayers(numofPlayers);
        }
    }
}
